北極星(不變):
規劃 30 個 Session,目標是當拿到一個新的 AI 產品需求,能用共同的工程語言:
Product Problem → Task Decomposition → Software / AI boundary
→ Context / Workflow / Tool / State design → Codex implementation
→ Test / Eval / Trace → Failure Analysis → Deploy / Feedback
→ Reusable Capability Extraction
最終累積:
Stage I|AI Software Foundation|Session 1–5(核心)
模組定義
| ID | 模組 | 內容 | Sessions | 依賴 | 核心 / 可選 |
|---|---|---|---|---|---|
| M0 | Decisions & Repo | ADR-000、use case、repo 骨架 | 0 | — | 核心 |
| M1 | AI Runtime Core | structured output、model interface、provider adapter、config、prompt registry | 1–2 | M0 | 核心 |
| M2 | Reliability + Trace v0 | error taxonomy、retry / timeout、run_id、structured log | 3 | M1 | 核心 |
| M3 | Task / State | task lifecycle、Postgres repository、worker、idempotency key、identity contract | 4 | M2 | 核心 |
| M4 | Quality Spine v0 | eval dataset schema、eval runner v0、test matrix | 5 | M1 | 核心 |
必須依序的主幹:M0 → M1 → M2 → M3 → M4。Stage I 沒有平行空間,每一步都是下一步的前提。